How to declare attributes for faceting with the API.
genre
and author
as attributesForFaceting
:
searchable
modifier.
filterOnly
to reduce the index size and improve search speed. For example, you could automatically filter what genre the users can search based on the section of your website they’re on(without displaying genre as a clickable filter).
:
) in attribute names that you want to use for faceting because the filters
syntax relies on that character as a delimiter.